const Router = require('koa-router');
const {appletAuth,wxAppletAuth} = require('../middleware/auth.middleware')
const {addBikeScore} = require('../controller/appletBikeScoreController')

const appletBikeCollectRouter = new Router({prefix: '/applet/bikeScore'});

appletBikeCollectRouter.post(`/score`, appletAuth, addBikeScore);

appletBikeCollectRouter.post(`/wxScore`, wxAppletAuth, addBikeScore);

module.exports = appletBikeCollectRouter;
